package com.wgw.first.user.bean;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

/**
 * @author Admin
 * @version $Rev$
 * @des ${TODO}
 * @updateAuthor $Author$
 * @updateDes ${TODO}
 */
public class OrderBean2 extends JSONObject {


    private List<Order> order;

    public List<Order> getOrder() {
        return order;
    }
    public void setOrder(List<Order> order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "OrderBean2 [order=" + order + "]";
    }

    public static class Order{
        private String book_name;
        private String isbn;
        private String address;
        private String phone;
        private String number;
        private String total_price;
        private String imgUrl;
        private int order_status;
        private String date;
        private int order_id;

        public Order() {

        }

        public Order(int order_id,String date,String book_name, String isbn, String address, String phone, String number, String total_price,
                     String imgUrl, int order_status) {
            super();
            this.order_id = order_id;
            this.date = date;
            this.book_name = book_name;
            this.isbn = isbn;
            this.address = address;
            this.phone = phone;
            this.number = number;
            this.total_price = total_price;
            this.imgUrl = imgUrl;
            this.order_status = order_status;
        }

        public int getOrder_id() {
            return order_id;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getBook_name() {
            return book_name;
        }

        public void setBook_name(String book_name) {
            this.book_name = book_name;
        }



        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getOrder_status() {
            return order_status;
        }

        public void setOrder_status(int order_status) {
            this.order_status = order_status;
        }

        public String getIsbn() {
            return isbn;
        }

        public void setIsbn(String isbn) {
            this.isbn = isbn;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }


        @Override
        public String toString() {
            return "Order{" +
                    "book_name='" + book_name + '\'' +
                    ", isbn='" + isbn + '\'' +
                    ", address='" + address + '\'' +
                    ", phone='" + phone + '\'' +
                    ", number='" + number + '\'' +
                    ", total_price='" + total_price + '\'' +
                    ", imgUrl='" + imgUrl + '\'' +
                    ", order_status=" + order_status +
                    ", date='" + date + '\'' +
                    ", order_id=" + order_id +
                    '}';
        }
    }
}
